SpatialStream® Code Examples

Adding a Tile Layer

The example
below shows how to add a SpatialStream® Parcel Tile layer using the esri web map API.

GetMap

parcelTileLayer = new WebTileLayer({

copyright: "Digital Map Products",
id: "Parcel",
maxScale: LOD[20].scale,
minScale: LOD[15].scale,
urlTemplate:
Dmp.Env.Connections["SS"].getBaseUrl() +
"GetMap.aspx?" +
"layers=samplesite.dmp/ParcelTiles" +
"&x={
col
}&y={
row
}&z={
level
}"
,
});
map.add(parcelTileLayer);


Run Sample   Back To Index